﻿/*
 * 作者: 谢中涞,博客园:http://www.cnblogs.com/xie-zhonglai
 * 欢迎转载,但请保留出处
 * */

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;

namespace Xiezl.Common.EFExpressions
{
    /// <summary>
    /// EF查询条件接口
    /// </summary>
    /// <typeparam name="TEntity">查询实体类型</typeparam>
    public interface IEFQueryExpression<TEntity>
    {
        /// <summary>
        /// 获取查询条件
        /// </summary>
        /// <returns></returns>
        Expression<Func<TEntity, bool>> GetExpression();
    }
}
